﻿using System;
using System.Collections.Generic;
using System.Linq;
using TimeTracker.Model;

namespace TimeTracker.Data.Contracts
{
    public interface ITimeTrackerUow
    {
        void Commit();

        IActivitiesRepository Activities { get; }
        IRepository<ActivityBundle> ActivityBundles { get; }
        IRepository<CompetenceLevel> CompetenceLevels { get; }
        IRepository<EffectivenessGrade> Grades { get; }
        IRepository<Task> Tasks { get; }
        ITimeRepository Time { get; }
    }
}
